package cn.org.qary.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddressInfo {

  @Id
  @KeySql(useGeneratedKeys = true)
  private Integer id;

  private String consignee;

  private String province;

  private String city;

  private String area;

  private String details;

  private String tel;

  @Column(name = "user_id")
  private Integer userId;


}
